package com.ticketbooking.entity;

import javax.persistence.*;

@Entity
@Table(name = "routeinf" , schema = "ticketbooking")
public class RouteInfEntity {
    private String routeid;
    private String departure;
    private String destination;
    private String airline;
    private String airtype;
    private String depairport;
    private String desairport;
    private String deptime;
    private String destime;
    private String vipprice;
    private String norprice;
    private String remarks;

    @Id
    @Column(name = "routeid")
    public String getRouteid() {
        return routeid;
    }

    public void setRouteid(String routeid) {
        this.routeid = routeid;
    }

    @Basic
    @Column(name = "departure")
    public String getDeparture() {
        return departure;
    }

    public void setDeparture(String departure) {
        this.departure = departure;
    }

    @Basic
    @Column(name = "destination")
    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    @Basic
    @Column(name = "airline")
    public String getAirline() {
        return airline;
    }

    public void setAirline(String airline) {
        this.airline = airline;
    }

    @Basic
    @Column(name = "airtype")
    public String getAirtype() {
        return airtype;
    }

    public void setAirtype(String airtype) {
        this.airtype = airtype;
    }

    @Basic
    @Column(name = "depairport")
    public String getDepairport() {
        return depairport;
    }

    public void setDepairport(String depairport) {
        this.depairport = depairport;
    }

    @Basic
    @Column(name = "desairport")
    public String getDesairport() {
        return desairport;
    }

    public void setDesairport(String desairport) {
        this.desairport = desairport;
    }

    @Basic
    @Column(name = "deptime")
    public String getDeptime() {
        return deptime;
    }

    public void setDeptime(String deptime) {
        this.deptime = deptime;
    }

    @Basic
    @Column(name = "destime")
    public String getDestime() {
        return destime;
    }

    public void setDestime(String destime) {
        this.destime = destime;
    }

    @Basic
    @Column(name = "vipprice")
    public String getVipprice() {
        return vipprice;
    }

    public void setVipprice(String vipprice) {
        this.vipprice = vipprice;
    }

    @Basic
    @Column(name = "norprice")
    public String getNorprice() {
        return norprice;
    }

    public void setNorprice(String norprice) {
        this.norprice = norprice;
    }

    @Basic
    @Column(name = "remarks")
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
